package nc.itf.ntb;

import nc.tb.ufore.conf.ConfRenderDesc;
import nc.tb.ufore.conf.RenderSchema;
import nc.tb.ufore.conf.Respository;
import nc.tb.ufore.conf.RuleSet;
import nc.tb.ufore.conf.ValueSet;
import nc.vo.pub.BusinessException;
import nc.vo.pub.lang.UFDateTime;

public interface IRenderSchema {

	public Respository reloadResposity() throws BusinessException;

	public boolean isDataDirty(UFDateTime ts) throws BusinessException;

	public UFDateTime insertRuleSet(UFDateTime ts, RuleSet rs)
			throws BusinessException;

	public UFDateTime updateRuleSet(UFDateTime ts, RuleSet rs)
			throws BusinessException;

	public UFDateTime delRuleSet(UFDateTime ts, String name)
			throws BusinessException;

	public UFDateTime insertValueSet(UFDateTime ts, ValueSet rs)
			throws BusinessException;

	public UFDateTime updateValueSet(UFDateTime ts, ValueSet rs)
			throws BusinessException;

	public UFDateTime delValueSet(UFDateTime ts, String name)
			throws BusinessException;

	public UFDateTime insertRenderDesc(UFDateTime ts, ConfRenderDesc rs)
			throws BusinessException;

	public UFDateTime updateRenderDesc(UFDateTime ts, ConfRenderDesc rs)
			throws BusinessException;

	public UFDateTime delRenderDesc(UFDateTime ts, String name)
			throws BusinessException;

	public UFDateTime insertRenderSchema(UFDateTime ts, RenderSchema rs)
			throws BusinessException;

	public UFDateTime updateRenderSchema(UFDateTime ts,
			RenderSchema rs, RenderSchema oldRS) throws BusinessException;

	public UFDateTime delRenderSchema(UFDateTime ts, String name)
			throws BusinessException;

}